package com.aysafety.eventmodel.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface MultiParameterIntegratedWarningDao {


    /**
     * 查询微震预警结果
     * @return
     */
    List<Map<String, Object>> queryMicroseismWarning(Map<String, Object> params);

    /**
     * 查询液压支架预警结果
     * @param params
     * @return
     */
    List<Map<String, Object>> queryHydraulicSupportWarning(Map<String, Object> params);

    /**
     * 查询地音预警结果
     * @param params
     * @return
     */
    List<Map<String, Object>> queryGeosoundWarining(Map<String, Object> params);

    /**
     * 查询微震学习结果
     * @return
     */
    List<Double> queryMicroseismWarningStudy(Map<String, Object> params);

    /**
     * 查询液压支架学习结果
     * @return
     */
    List<Double> queryHydraulicSupportWarningStudy(Map<String, Object> params);


    /**
     * 查询地音学习结果
     * @return
     */
    List<Double> queryGeosoundWariningStudy(Map<String, Object> params);


    /**
     * 保存多参量综合预警结果到数据库中
     * @param params
     */
    void saveMultiParamsWarning(Map<String, Object> params);
}
